package com.example.wxapi.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class MyController {


    @RequestMapping(params = {"do=mynext"})
    @ResponseBody
    public String mynext(Integer type, Integer page, Boolean scroll) {
        if (page != 1) {
            return "{\"status\":\"0\",\"lists\":[]}";
        } else {
            return "{\n" +
                    "\t\"status\": \"1\",\n" +
                    "\t\"lists\": [{\n" +
                    "\t\t\"id\": \"16\",\n" +
                    "\t\t\"nickname\": \"骑着野猪去相亲\",\n" +
                    "\t\t\"avatar\": \"http:\\/\\/thirdwx.qlogo.cn\\/mmopen\\/vi_32\\/Q0j4TwGTfTJTElX0hNG2KDOTR0icgo6sFmVtJ7lI6FGwCGwL6CvcfN5LicQLUsn3CbdKfO9drRcoGcGzsLvNBRKA\\/132\",\n" +
                    "\t\t\"createtime\": \"2018-11-20 12:03\",\n" +
                    "\t\t\"tcommission\": 0,\n" +
                    "\t\t\"tcommission_red\": 0\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"15\",\n" +
                    "\t\t\"nickname\": \"黄培纪\",\n" +
                    "\t\t\"avatar\": \"http:\\/\\/thirdwx.qlogo.cn\\/mmopen\\/vi_32\\/62WuoMJlcViaPL7CObNpe8gPuwDCXeZsVLmoVuoO44llavYpWYTXlWPcCcaADMuGuzJBGXAEwXpVN3hicGFiaxrbA\\/132\",\n" +
                    "\t\t\"createtime\": \"2018-11-20 10:49\",\n" +
                    "\t\t\"tcommission\": 0,\n" +
                    "\t\t\"tcommission_red\": 0\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"14\",\n" +
                    "\t\t\"nickname\": \"茶蓬小包\",\n" +
                    "\t\t\"avatar\": \"http:\\/\\/thirdwx.qlogo.cn\\/mmopen\\/vi_32\\/DYAIOgq83eoGCV7UU01BdQC6g0yIGLicvxf56lAXOMicicElNt3EYicn7vDfczUJZfJPm4OpJgibH4icVcBPEQ8mj9rA\\/132\",\n" +
                    "\t\t\"createtime\": \"2018-11-20 10:47\",\n" +
                    "\t\t\"tcommission\": 0,\n" +
                    "\t\t\"tcommission_red\": 0\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"13\",\n" +
                    "\t\t\"nickname\": \"卖肉的郑先生\",\n" +
                    "\t\t\"avatar\": \"http:\\/\\/thirdwx.qlogo.cn\\/mmopen\\/vi_32\\/YQIxj616l4s48rAVGgiaqtaPwx8L6GMEUSmLiapH5MzeiaZaZBHW48t7lo7omnHOoh4WtqyOOI4NM0PB62tyge6kw\\/132\",\n" +
                    "\t\t\"createtime\": \"2018-11-20 09:49\",\n" +
                    "\t\t\"tcommission\": 0,\n" +
                    "\t\t\"tcommission_red\": 0\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"10\",\n" +
                    "\t\t\"nickname\": \"任责\",\n" +
                    "\t\t\"avatar\": \"http:\\/\\/thirdwx.qlogo.cn\\/mmopen\\/vi_32\\/7iaQaiaBq2gmIbHILKcSLfxBWLpdnA7GgcQ72E9bAgYyibnBdauEuc6ra0MCX0Gic1tjgkHBmNppbY2afvo2q7gHRQ\\/132\",\n" +
                    "\t\t\"createtime\": \"2018-11-20 02:30\",\n" +
                    "\t\t\"tcommission\": 0,\n" +
                    "\t\t\"tcommission_red\": 0\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"9\",\n" +
                    "\t\t\"nickname\": \"a' ゞ花呗，提现！网贷不上征信\",\n" +
                    "\t\t\"avatar\": \"http:\\/\\/thirdwx.qlogo.cn\\/mmopen\\/vi_32\\/Q0j4TwGTfTIVxfFJhXiasEzrKZRJQRpiapq7tkADlSiaHgqrccCAF6jSf4mBExV6iaZlvia1JnoTHaBew09qAcwkH0Q\\/132\",\n" +
                    "\t\t\"createtime\": \"2018-11-20 01:16\",\n" +
                    "\t\t\"tcommission\": 0,\n" +
                    "\t\t\"tcommission_red\": 0\n" +
                    "\t}, {\n" +
                    "\t\t\"id\": \"8\",\n" +
                    "\t\t\"nickname\": \"郑先生\",\n" +
                    "\t\t\"avatar\": \"http:\\/\\/thirdwx.qlogo.cn\\/mmopen\\/vi_32\\/1ticv9N9OeDRP3HgRDI8KhmLrXkcU2rkiakFZVAdAs6ibMUwUGTeax76GicTpmp4V6NGqetZfYdWGRNRHQib6z8icKew\\/132\",\n" +
                    "\t\t\"createtime\": \"2018-11-20 01:12\",\n" +
                    "\t\t\"tcommission\": 0,\n" +
                    "\t\t\"tcommission_red\": 0\n" +
                    "\t}]\n" +
                    "}";
        }

    }




}
